package com.example.autocinfigure;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 前缀、后缀通过读取application.properties(yml)内的参数获得
 */
@ConfigurationProperties("example.service")
public class ExampleServiceProperties {
	private String prefix;
	private String suffix;
	public String getPrefix() {
		return prefix;
	}
	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}
	public String getSuffix() {
		return suffix;
	}
	public void setSuffix(String suffix) {
		this.suffix = suffix;
	}

}
